/*
 * File: TimerTaskIf.c
 *
 * Code generated for Simulink model 'TimerTaskMgr'.
 *
 * Model version                  : 1.24
 * Simulink Coder version         : 9.6 (R2021b) 14-May-2021
 * C/C++ source code generated on : Thu Jan 12 09:58:56 2023
 *
 * Target selection: ert.tlc
 * Embedded hardware selection: Intel->x86-64 (Windows64)
 * Code generation objectives: Unspecified
 * Validation result: Not run
 */

#include "TimerTaskIf.h"

/* Include model header file for global data */
#include "TimerTaskMgr.h"
#include "TimerTaskMgr_private.h"

/* Output and update for enable system: '<Root>/Raise1000ms' */
void TimerTaskMgr_Raise1000ms(void)
{
  /* Outputs for Enabled SubSystem: '<Root>/Raise1000ms' incorporates:
   *  EnablePort: '<S1>/Enable'
   */
  if (TimerTaskMgr_B.re1000ms) {
    /* Outport: '<Root>/Out4' incorporates:
     *  Inport: '<S1>/In1'
     */
    TimerTaskMgr_Y.Out4 = 0.0;
  }

  /* End of Outputs for SubSystem: '<Root>/Raise1000ms' */
}

/* Output and update for enable system: '<Root>/Raise100ms' */
void TimerTaskMgr_Raise100ms(void)
{
  /* Outputs for Enabled SubSystem: '<Root>/Raise100ms' incorporates:
   *  EnablePort: '<S2>/Enable'
   */
  if (TimerTaskMgr_B.re100ms) {
    /* Outport: '<Root>/Out3' incorporates:
     *  Inport: '<S2>/In1'
     */
    TimerTaskMgr_Y.Out3 = 0.0;
  }

  /* End of Outputs for SubSystem: '<Root>/Raise100ms' */
}

/* Output and update for enable system: '<Root>/Raise10ms' */
void TimerTaskMgr_Raise10ms(void)
{
  /* Outputs for Enabled SubSystem: '<Root>/Raise10ms' incorporates:
   *  EnablePort: '<S3>/Enable'
   */
  if (TimerTaskMgr_B.re10ms) {
    /* Outport: '<Root>/Out2' incorporates:
     *  Inport: '<S3>/In1'
     */
    TimerTaskMgr_Y.Out2 = 0.0;
  }

  /* End of Outputs for SubSystem: '<Root>/Raise10ms' */
}

/* Output and update for enable system: '<Root>/Raise5ms' */
void TimerTaskMgr_Raise5ms(void)
{
  /* Outputs for Enabled SubSystem: '<Root>/Raise5ms' incorporates:
   *  EnablePort: '<S4>/Enable'
   */
  if (TimerTaskMgr_B.re5ms) {
    /* Outport: '<Root>/Out1' incorporates:
     *  Inport: '<S4>/In1'
     */
    TimerTaskMgr_Y.Out1 = 0.0;
  }

  /* End of Outputs for SubSystem: '<Root>/Raise5ms' */
}

/*
 * File trailer for generated code.
 *
 * [EOF]
 */
